// OutlookUIDemoView.h : interface of the COutlookUIDemoView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_OUTLOOKUIDEMOVIEW_H__15E90BCE_292F_11D3_873E_000000000000__INCLUDED_)
#define AFX_OUTLOOKUIDEMOVIEW_H__15E90BCE_292F_11D3_873E_000000000000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

class COutlookUIDemoDoc;
class COutlookUIDemoView : public CView
{
protected: // create from serialization only
	COutlookUIDemoView();
	DECLARE_DYNCREATE(COutlookUIDemoView)

// Attributes
public:
	COutlookUIDemoDoc* GetDocument();

// Operations
public:
	CCJCaption			m_Caption;
	CCJFlatSplitterWnd	m_wndSplitter, m_wndSplitter2;
	CFont				m_CaptionFont;
	HICON				m_hIcon;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COutlookUIDemoView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	CCJTreeCtrl* GetFolderTreeCtrl();
	virtual ~COutlookUIDemoView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(COutlookUIDemoView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	//afx_msg void OnCloseFolderListView(UINT lParam, LONG wParam);
	afx_msg LRESULT COutlookUIDemoView::OnCloseFolderListView(WPARAM lParam, LPARAM wParam);
	afx_msg LRESULT COutlookUIDemoView::OnPushPinButton(WPARAM lParam, LPARAM wParam);
	afx_msg LRESULT COutlookUIDemoView::OnPushPinCancel(WPARAM lParam, LPARAM wParam);
	/*afx_msg void OnPushPinButton(UINT lParam, LONG wParam);
	afx_msg void OnPushPinCancel(UINT lParam, LONG wParam);*/
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in OutlookUIDemoView.cpp
inline COutlookUIDemoDoc* COutlookUIDemoView::GetDocument()
   { return (COutlookUIDemoDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OUTLOOKUIDEMOVIEW_H__15E90BCE_292F_11D3_873E_000000000000__INCLUDED_)
